#ifndef _THREADTASK_H_
#define _THREADTASK_H_

#include "thread"
#include "task.h"
#include "memory"
#include "mutex"
#include "condition_variable"
#include "tsList.h"
#include "Logger.h"
#include "pthread.h"
#include "signal.h"
#include "sys/signalfd.h"

using namespace std;

namespace easyWebServer
{


class TDTask
{
public:
    TDTask();
    ~TDTask();

    void run();
    void stop();
    void join();

private:
    thread m_td;
    bool m_isStop = false;

};

}
#endif